package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName SmsRelationDO
 * @Description 消息关系映射
 * @Author ibeeking
 * @Date 2020-12-09 10:53
 **/
@Data
@TableName("sms_relation")
public class SmsRelationDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    /**
     * 通知消息类型id
     */
    @TableField(value = "msg_type_id")
    private Long msgTypeId;

    /**
     * 消息秘钥配置id
     */
    @TableField(value = "msg_config_id")
    private Long msgConfigId;

    /**
     * 消息签名id
     */
    @TableField(value = "msg_sign_id")
    private Long msgSignId;

    /**
     * 消息模板id
     */
    @TableField(value = "msg_template_id")
    private Long msgTemplateId;

    @TableField(value = "del_status")
    private Integer delStatus;
}
